package com.practice.reflection;

import com.practice.annotation.CategoryMark;

public class CheckAnnotationPractice {

	public static void main(String[] args) {
		
		if (Marked.class.isAnnotationPresent(CategoryMark.class)) {
			System.out.println("Yes");
		} else {
			System.out.println("No");
		}
	}
	
	@CategoryMark
	class Marked {
		
	}

}
